<%-- 
    Document   : afficherEntretients
    Created on : 10 juil. 2014, 21:33:42
    Author     : David
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %> 
<!DOCTYPE html>

</html>
<html lang="en">
    <head>
        <meta charset="utf-8" />

        <script src="js/functions.js" type="text/javascript"></script>
    </head>
    <body>


        <a href="#" class="nav-btn">HOMEPAGE<span></span></a>

        <ul id="menu">
            <li class="active">

                <a href="accueil.jsp">home</a>

            </li>
            <li>

                <a href="#">Mon véhicule</a>
                <ul>
                    <li> <a href="#">Propriétés</a></li>


                    <li><a href="#">Entretiens</a></li>
                </ul>

            </li>
            <li>
                <a href="#">Planfier</a>
                <ul>
                    <li> <a href="#">Un entretien</a></li>
                    <li><a href="#">Un contrôle technique</a></li>
                </ul>
            </li>
        </ul>


        <!-- end of top-nav -->
        <!-- header -->

        <!-- shell -->

        <!-- header-cnt -->

        <h1>Entretients &nbsp; <s:property value="vehicule.marque.libelle"/>&nbsp;<s:property value="vehicule.modele.libelle"/></h1>
        <table>
            <th>Date</th>
            <th>Nom</th>
            <th>Garage</th>
            <th>Kiloùétrage</th>
            <th>Fait</th>
            <th>Prix</th>
            <s:iterator value="listeEntretients" var="ent">
                <tr>
                    <td>${ent.libelle}</td>
                </tr>
            </s:iterator>
        </table>


        <a href="afficherAjoutEntretien" class="blue-btn">Ajouter un entretien</a>


    </body>
</html>